package com.yequan.leetcode;

import java.util.Scanner;

/**
 * @author yequan
 * @date 2021/10/17 22:55
 **/
public class ST {

    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        int n = input.nextInt();
        String string = input.next();
        int[][] array = new int[n][n];
        for (int i = 0; i < n; i++) {
            String nextString = input.next();
            String[] stringArray = nextString.split(",");
            for (int j = 0; j < stringArray.length; j++) {
                array[i][j] = Integer.parseInt(stringArray[j]);
            }
        }
        char[] chars = string.toCharArray();
        for (int i = 0; i < chars.length; i++) {

        }
    }

}
